Quasi-arithmetic mean